package com.syxbbs.forum.services;

import com.syxbbs.forum.model.Board;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface IBoardServive {
    //查询num条记录
    List<Board> selectByNum(Integer num);


    //@Transactional
    Board selectById(Long id);


    //@Transactional
    void addOneArticleCountById(Long id);

    //板块发帖数减1
    void subOneArticleCountById(Long id);



}
